const baseURL="http://47.99.124.245:8008";
export const realLogin=(data)=>{
	return new Promise((resolve,reject)=>{
		uni.request({
			url:baseURL+'/login',
			method:'POST',
			data:data,
			header:{
				'content-type':'application/x-www-form-urlencoded',
				
			},
			success:(res)=>{
				console.log(res.data)
				resolve(res)
			},
			fail:(res)=> {
				uni.showToast({
					title:"接口请求失败",
					icon:"none"
				})
				reject(err)
			}
		})
	})
}